package com.example.administrator.yunniuusedcar.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.example.administrator.common.ui.BaseAdapterRV;
import com.example.administrator.common.ui.BaseHolderRV;
import com.example.administrator.yunniuusedcar.holder.JiFenShoppNRHolder;
import com.example.administrator.yunniuusedcar.model.mode_benn.JiFenShoppingBean;

import java.util.List;

/** 首页头部类别显示
 * Created by USER2015 on 2017/12/4.
 */

public class JiFenShoppingAdapter extends BaseAdapterRV<JiFenShoppingBean> {

    public JiFenShoppingAdapter(Context context, List<JiFenShoppingBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<JiFenShoppingBean> createViewHolder(
            Context context, ViewGroup parent, int viewType) {
        return new JiFenShoppNRHolder(context,parent,this);
    }
}
